package com.wujunshen.dumpling.core.engine;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author frank woo(吴峻申) <br>
 * email:<a href="mailto:frank_wjs@hotmail.com">frank_wjs@hotmail.com</a> <br>
 * @date 2021/1/9 02:44<br>
 */
@Getter
@AllArgsConstructor
public enum EngineFileType {
    /** HTML */
    HTML(".html", "documentation_html", "HTML文件"),
    /** WORD */
    WORD(".doc", "documentation_word", "WORD文件"),
    /** EXCEL */
    EXCEL(".xls", "documentation_excel", "EXCEL文件"),
    /** MD */
    MD(".md", "documentation_md", "Markdown文件");

    /** 文件后缀 */
    private final String fileSuffix;
    /** 模板文件 */
    private final String templateNamePrefix;
    /** 描述 */
    private final String desc;
}
